﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AttributeAndMethod
{
    class Defender
    {
        public string nameDefender;
        public int ageDefender;
        public string jobDefender;

        public string Name
        {
            get { return nameDefender; }
            set { nameDefender = value; }
        }
        public int Age
        {
            get { return ageDefender; }
            set { ageDefender = value; }
        }
        public string Job
        { get { return jobDefender; } set { jobDefender = value; } }

    }
}
